﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using Newtonsoft.Json;
using SqlSugar;

namespace Aioms.Model
{
    [SugarTable("work_order_employee")]
    public class WorkOrderEmployee
    {
        public WorkOrderEmployee()
        {
            this.Created = DateTime.Now;
            this.Updated = DateTime.Now;
        }

        [SugarColumn(ColumnName = "eid", ColumnDescription = "企业ID")]
        public long Eid { get; set; }

        [SugarColumn(ColumnName = "woid", ColumnDescription = "工单ID")]
        public long Woid { get; set; }

        [SugarColumn(ColumnName = "epid", ColumnDescription = "员工ID")]
        public long Epid { get; set; }

        [SugarColumn(ColumnName = "created")]
        public DateTime? Created { get; set; }

        [SugarColumn(ColumnName = "updated")]
        public DateTime? Updated { get; set; }
    }
}
